package com.ruoyi.pfwj.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 批复文件对象 xmgl_pfwj
 * 
 * @author huacai
 * @date 2024-08-13
 */
public class Pfwj extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 批复文件 */
    private String pfwjId;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String wjName;

    /** 年度 */
    @Excel(name = "年度")
    private Integer nd;

    /** 发文字号 */
    @Excel(name = "发文字号")
    private String fwZh;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private String sfYx;

    /** 发文单位 */
    @Excel(name = "发文单位")
    private String fwDw;

    /** ID是否存在 */
    @Excel(name = "ID是否存在")
    private String idWhere;

    /** 用户ID */
    private Integer userId;

    /** 部门ID */
    private Integer deptId;

    /** 批复文件附件信息 */
    private List<PfwjFj> pfwjFjList;

    public void setPfwjId(String pfwjId) 
    {
        this.pfwjId = pfwjId;
    }

    public String getPfwjId() 
    {
        return pfwjId;
    }
    public void setWjName(String wjName) 
    {
        this.wjName = wjName;
    }

    public String getWjName() 
    {
        return wjName;
    }
    public void setNd(Integer nd) 
    {
        this.nd = nd;
    }

    public Integer getNd() 
    {
        return nd;
    }
    public void setFwZh(String fwZh) 
    {
        this.fwZh = fwZh;
    }

    public String getFwZh() 
    {
        return fwZh;
    }
    public void setSfYx(String sfYx) 
    {
        this.sfYx = sfYx;
    }

    public String getSfYx() 
    {
        return sfYx;
    }
    public void setFwDw(String fwDw) 
    {
        this.fwDw = fwDw;
    }

    public String getFwDw() 
    {
        return fwDw;
    }
    public void setIdWhere(String idWhere) 
    {
        this.idWhere = idWhere;
    }

    public String getIdWhere() 
    {
        return idWhere;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setDeptId(Integer deptId) 
    {
        this.deptId = deptId;
    }

    public Integer getDeptId() 
    {
        return deptId;
    }

    public List<PfwjFj> getPfwjFjList()
    {
        return pfwjFjList;
    }

    public void setPfwjFjList(List<PfwjFj> pfwjFjList)
    {
        this.pfwjFjList = pfwjFjList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pfwjId", getPfwjId())
            .append("wjName", getWjName())
            .append("nd", getNd())
            .append("fwZh", getFwZh())
            .append("sfYx", getSfYx())
            .append("fwDw", getFwDw())
            .append("idWhere", getIdWhere())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("pfwjFjList", getPfwjFjList())
            .toString();
    }
}
